package com.nova.edc.model.system;

import java.math.BigDecimal;
import java.util.Date;

import com.nova.frame.annotation.Id;
import com.nova.frame.annotation.Join;
import com.nova.frame.annotation.Table;
import com.nova.module.filter.annotation.FilterCondition;

@Table("t_elecprice")
public class ElecPrice {

	@Id
	private Integer id;
	@FilterCondition
	private Integer epricecode;
	private String epricetype;
	@Join(fieldName = "epricetype", table = ElecPriceType.class, joinColumn = "TypeName")
	private String epricetypename;
	private BigDecimal unitprice;
	private String memo;
	private Integer scrapped;
	private Date modifystamp;
	private String addby;
	private Date adddate;
	private String modifyby;
	private Date modifydate;
	private String stime;
	private String etime;
	@FilterCondition
	private Integer loginid;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getEpricecode() {
		return epricecode;
	}

	public void setEpricecode(Integer epricecode) {
		this.epricecode = epricecode;
	}

	public String getEpricetype() {
		return epricetype;
	}

	public void setEpricetype(String epricetype) {
		this.epricetype = epricetype;
	}

	public BigDecimal getUnitprice() {
		return unitprice;
	}

	public void setUnitprice(BigDecimal unitprice) {
		this.unitprice = unitprice;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public Integer getScrapped() {
		return scrapped;
	}

	public void setScrapped(Integer scrapped) {
		this.scrapped = scrapped;
	}

	public Date getModifystamp() {
		return modifystamp;
	}

	public void setModifystamp(Date modifystamp) {
		this.modifystamp = modifystamp;
	}

	public String getAddby() {
		return addby;
	}

	public void setAddby(String addby) {
		this.addby = addby;
	}

	public Date getAdddate() {
		return adddate;
	}

	public void setAdddate(Date adddate) {
		this.adddate = adddate;
	}

	public String getModifyby() {
		return modifyby;
	}

	public void setModifyby(String modifyby) {
		this.modifyby = modifyby;
	}

	public Date getModifydate() {
		return modifydate;
	}

	public void setModifydate(Date modifydate) {
		this.modifydate = modifydate;
	}

	public String getStime() {
		return stime;
	}

	public void setStime(String stime) {
		this.stime = stime;
	}

	public String getEtime() {
		return etime;
	}

	public void setEtime(String etime) {
		this.etime = etime;
	}

	public String getEpricetypename() {
		return epricetypename;
	}

	public void setEpricetypename(String epricetypename) {
		this.epricetypename = epricetypename;
	}

	public Integer getLoginid() {
		return loginid;
	}

	public void setLoginid(Integer loginid) {
		this.loginid = loginid;
	}
}
